import 'package:get/get.dart';
import 'package:health/views/card/card_binding.dart';
import 'package:health/views/card/card_view.dart';
import 'package:health/views/home/home_binding.dart';
import 'package:health/views/home/home_view.dart';

class RoutePath {
  RoutePath._();

  ///首页
  static const String home = '/';

  static const String card = '/card';

  static final List<GetPage> pages = [
    GetPage(
      name: home,
      page: () => const HomePage(),
      binding: HomeBinding(),
    ),
    GetPage(name: card, page: () => const CardPage(), binding: CardBinding())
  ];
}
